package cn.edu.whut.springbear.ifamily.genealogy.pojo.query;

import cn.edu.whut.springbear.ifamily.common.constant.RegExpConstants;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @Author pupil
 * @Create 2025/9/12 14:24
 * @Version 1.0
 */
@Data
public class RelationQuery implements Serializable {

    private static final long serialVersionUID = -4721028195836054824L;

    @ApiModelProperty("ID")
    private Long id;


    @ApiModelProperty(value = "生父ID", required = false)
    private Long fatherId;

    @ApiModelProperty(value = "生母ID", required = false)
    private Long motherId;

    @ApiModelProperty(value = "丈夫ID", required = false)
    private Long husbandId;
}
